home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / ega.arc / PANSCRN.DOC < prev    next >
Text File  |  1987-07-25  |  1KB  |  30 lines

  1.   PANSCRN - Hardware Panning for the IBM Enhanced Graphics Adapter
  2.   -------
  3. by Doug Wolfgram - President, Microtex Industries - Co-author of PCPAINT.
  4.  
  5. PANSCRN is a simple demo showing off  the  hardware  panning  and  scrolling 
  6. capabilities of the IBM EGA. To run PANSCRN,  you  must  have  an  EGA  with
  7. at least 128K of memory on it and both PANSCRN.EXE & PANSCRN.PIC in the same
  8. directory. PANSCRN.PIC is just a 16 color PCPAINT PLUS picture that I  drew.
  9. If you like, you may create any 640x350 PCPAINT PLUS 16  color  picture  and
  10. rename it PANSCRN.PIC and it will work. Of course, if you have PCPAINT PLUS,
  11. you may use this picture to play with as well. The core of this  demo  is  a
  12. little assembly language subroutine that sets up a virtual window  as  large
  13. as I tell it, (provided the EGA has enough memory!) and then, upon  command,
  14. puts the coordinate I tell it at the top left corner of the  screen.  So  by
  15. writing a bunch of little loops that move the screen 1 pixel at  a  time,  I
  16. can smoothly scroll around the screen wherever I want.  This  demo  runs  in
  17. 320x200 16 color mode.
  18.  
  19. If you have any questions or want to know how to do it yourself, call me at:
  20.  
  21.                        PCPAINT PICTURE SWAP LINE
  22.                              A PCBOARD BBS
  23.                                24 Hours
  24.                             (714) 545-8100  ---  Soon on PC PURSUIT!
  25.  
  26.                         Sorry, no 2400 baud yet!
  27.  
  28. - doug
  29.  
  30.